home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19960715-19961006 / 000435_news@columbia.edu _Wed Oct 2 09:20:44 1996.msg < prev    next >
Internet Message Format  |  2020-01-01  |  2KB

  1. Return-Path: news@columbia.edu
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30]) by watsun.cc.columbia.edu (8.7.5/8.7.3) with ESMTP id JAA07119 for <kermit.misc@watsun.cc.columbia.edu>; Wed, 2 Oct 1996 09:20:44 -0400 (EDT)
  3. Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.7.5/8.7.3) id JAA28773 for kermit.misc@watsun; Wed, 2 Oct 1996 09:20:43 -0400 (EDT)
  4. Path: news.columbia.edu!news.cs.columbia.edu!psinntp!psinntp!howland.erols.net!news.mathworks.com!newsfeed.internetmci.com!news.indigo.ie!usenet
  5. From: "Eoin C. Bair∩┐╜ad" <ebairead@indigo.ie>
  6. Newsgroups: comp.protocols.kermit.misc
  7. Subject: C-Kermit on VMS - what am I doing WRONG
  8. Date: 2 Oct 1996 11:53:44 GMT
  9. Organization: Indigo
  10. Lines: 45
  11. Message-ID: <52tl48$437@niamh.indigo.ie>
  12. NNTP-Posting-Host: ts01-03.dublin.indigo.ie
  13. Mime-Version: 1.0
  14. Content-Type: text/plain; charset=us-ascii
  15. Content-Transfer-Encoding: 7bit
  16. X-Mailer: Mozilla 1.22 (Windows; I; 16bit)
  17.  
  18. I've put C-Kermit on a VAX running VMS, to replace Kermit-32,
  19. and I want to write a simple script to login to a unix box, and
  20. transfer a file.
  21.  
  22. So I define CKERMIT as a foreign command and I go:
  23. $ CKERMIT
  24.  
  25. C-Kermit>set line ker$comm
  26. C-Kermit>out \13
  27. C-Kermit>input 5 login:
  28. C-Kermit>out username\13
  29. C-Kermit>input 5 Password:
  30. C-Kermit>out secret\13
  31. C-Kermit>input 5 $
  32. C-Kermit>out ckermit -x\13
  33. C-Kermit>send myfile.dat
  34. C-Kermit>finish
  35. C-Kermit>out exit\13
  36.  
  37. and that works fine.
  38.  
  39. so I put the above lines in a file - XFILE.INI
  40. set line ker$comm
  41. out \13
  42. input 5 login:
  43. out username\13
  44. input 5 Password:
  45. out secret\13
  46. input 5 $
  47. out ckermit -x\13
  48. send myfile.dat
  49. finish
  50. out exit\13
  51.  
  52. and I go:
  53. $ CKERMIT
  54. C-Kermit>take XFILE.ini
  55.  
  56. and it falls over - it doesn't seem to want to OUTPUT anything
  57. and I get "invalid password" messages.
  58.  
  59. Am I doing anything wrong ????
  60.  
  61. Eoin
  62.